package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * meteorology_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("meteorology_msg")
public class MeteorologyMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * 温度
     */
    @Schema(name = "temperature", description = "温度")
    private Integer temperature;

    /**
     * 湿度
     */
    @Schema(name = "humidity", description = "湿度")
    private Integer humidity;

    /**
     * 降雨量
     */
    @Schema(name = "rainfall", description = "降雨量")
    private Integer rainfall;

    /**
     * 风速
     */
    @Schema(name = "wind_velocity", description = "风速")
    private String windVelocity;

    /**
     * 数据日期
     */
    @Schema(name = "data_date", description = "数据日期")
    private LocalDateTime dataDate;


}
